package greate.project.event1;

import org.springframework.context.ApplicationEvent;

public class UserRegisterEvent1 extends ApplicationEvent {
    /**
     * 用户名
     */
    private final String username;

    public UserRegisterEvent1(Object source) {
        super(source);
        username = (String) source;
    }

    public String getUsername() {
        return this.username;
    }


}
